<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    // ES2016 新增内容

    const arr = [1,true,NaN,23,'hello']
    // console.log(arr.indexOf(true))
    // console.log(arr.indexOf(null))
    // console.log(arr.indexOf(NaN))

    // includes 包含
    // console.log(arr.includes(NaN))

    // 指数运算符 **
    // console.log(Math.pow(2,3))

    console.log(2 ** 10)
  </script>
</body>
</html>